<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Dcat\Admin\Traits\ModelTree;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class MemberPosition extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;
    use ModelTree;

    protected $table = 'tinkle_member_position';

    protected $titleColumn = 'position_name';

    protected $parentColumn = 'pid';

    // 返回空值即可禁用 order 字段
    public function getOrderColumn()
    {
        return null;
    }
}
